package com.spsy.order.controller.api;

import com.spsy.common.core.domain.R;
import com.spsy.order.api.SpsyOrderProvider;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: liuzhiping
 * @date: 2025/1/16 16:43
 **/
@RestController
@Slf4j
public class OrderOpenfeignApiController implements SpsyOrderProvider {
    /***
     * 提供给支付系统使用，支付系统支付成功调用
     * @param orderId
     * @return
     */
    @Override
    public R pay2OrderNoity(String orderId) {
        log.info("==============>orderId");
        //log.info("==============>修改数据库订单状态为成功");
        return R.ok();
    }
}
